﻿using BrnMall.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BrnMall.Services
{
    public partial class PrintConfigs
    {
        public static List<PrintConfig> GetPrintByShopID(int StoreID) {
            return BrnMall.Manager.Manager.Order.PrintConfigs.GetPrintByShopID(StoreID);
        }


        public static List<PrintConfig> GetPrintList(int StoreID) {
            return BrnMall.Manager.Manager.Order.PrintConfigs.GetPrintList(StoreID);
        }

        public static int InsertPrintConfig(PrintConfig pc) {
            return BrnMall.Manager.Manager.Order.PrintConfigs.InsertPrintConfig(pc);
        }

        public static int DeletePrintConfig(PrintConfig pc) {
            return BrnMall.Manager.Manager.Order.PrintConfigs.DeletePrintConfig(pc);
        }

        public static bool IsExistsPrintConfig(PrintConfig pc) {
            return BrnMall.Manager.Manager.Order.PrintConfigs.IsExistsPrintConfig(pc);
        }

        public static int UpdatePrintConfigIP(int StoreID,string ip) {
            return BrnMall.Manager.Manager.Order.PrintConfigs.UpdatePrintConfigIP(StoreID,ip);
        }

        public static string GetPrintConfigIP(int StoreID) {
            return BrnMall.Manager.Manager.Order.PrintConfigs.GetPrintConfigIP(StoreID);
        }
    }
}
